package test4;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        String str=sc.next();
        str=str.replace('1','$');
        for(int i=0;i<10;++i)
        {
            char c=String.valueOf(i).charAt(0);
            str=str.replace(c,'$');
        }
        System.out.println(str);
    }
}
